import React from 'react';
import { View, Image } from '@tarojs/components';
import { sourceUrl } from '@/config';
import './index.scss';

const BusinessLicense = () => {
  const pics = ['https://ht-fine-static.oss-cn-beijing.aliyuncs.com/enterprise/1.png'];
  return (
    <View className="businessLicense">
      {pics?.length > 0 &&
        pics.map((url) => (
          <Image
            className="img"
            mode="widthFix"
            src={url.indexOf('http') === 0 ? url : sourceUrl + url}
          ></Image>
        ))}
    </View>
  );
};

export default BusinessLicense;
